//! Implementation of class FilledRectangle
/*!
	\file FilledRectangle.h
	\author Andreas Lehner
	\date 13.11.2012

*/

#include "FilledRectangle.h"

static const std::string fill = "fill=";
static const std::string apostrophe = "\"";

void FilledRectangle::DoWrite(std::ostream & stream){
	//when a rectangle is filled, fill describes the color for the fill
	//and equals the color of the stroke
	stream << fill << apostrophe << mColor << apostrophe;
}